using System;


/// <summary>
/// Summary description for CallStatus
/// </summary>
/// 
namespace CE.CarInsurance
{
    public class CallStatus
    {
        public CallStatus()
        {
            ClearFields();
        }

        private Int64 _cxcrmid;
        private int _calltypeid;
        private Int64 _carresultid;
        private Int64 _carid;
        private Int64 _customerid;
        private Int64 _agentid;
        private Int64 _agentleadid;
        private int _maincallstatustypeid;
        private int _callstatustypeid;
        private Int16 _callfinishtype;
        private Int64 _callbackagentid;
        private DateTime _callbackdatetime;
        private string _remark;
        private DateTime _startdatetime;
        private Int16 _callduration;
        private DateTime _createddate;
        private DateTime _modifieddate;

        public Int64 CXCRMId
        {
            get { return _cxcrmid; }
            set { _cxcrmid = value; }
        }

        public Int32 CallTypeId
        {
            get { return _calltypeid; }
            set { _calltypeid = value; }
        }

        public Int64 CarResultId
        {
            get { return _carresultid; }
            set { _carresultid = value; }
        }

        public Int64 CarId
        {
            get { return _carid; }
            set { _carid = value; }
        }

        public Int64 CustomerId
        {
            get { return _customerid; }
            set { _customerid = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 AgentLeadId
        {
            get { return _agentleadid; }
            set { _agentleadid = value; }
        }

        public Int16 CallFinishType
        {
            get { return _callfinishtype; }
            set { _callfinishtype = value; }
        }

        public Int32 MainCallStatusTypeID
        {
            get { return _maincallstatustypeid; }
            set { _maincallstatustypeid = value; }
        }

        public Int32 CallStatusTypeID
        {
            get { return _callstatustypeid; }
            set { _callstatustypeid = value; }
        }

        public Int64 CallBackAgentID
        {
            get { return _callbackagentid; }
            set { _callbackagentid = value; }
        }

        public DateTime CallBackDateTime
        {
            get { return _callbackdatetime; }
            set { _callbackdatetime = value; }
        }

        public Int16 CallDuration
        {
            get { return _callduration; }
            set { _callduration = value; }
        }

        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        public DateTime StartDateTime
        {
            get { return _startdatetime; }
            set { _startdatetime = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        private void ClearFields()
        {
            _cxcrmid = 0;
            _calltypeid = 0;
            _carresultid = 0;
            _customerid = 0;
            _agentid = 0;
            _agentleadid = 0;
            _callstatustypeid = 0;
            _maincallstatustypeid = 0;
            _callbackagentid = 0;
            _callbackdatetime = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _remark = "";
            _callduration = 0;
            _startdatetime = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _createddate = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
            _modifieddate = CE.Global.General.GetUTCDateTime(); //DateTime.Now;
        }
    }
}
